/**
* @author attilax 1466519819@qq.com
* @version  c0
* Copyright 2013 attilax reserved.
* All content (including but not limited to text, pictures, etc.) have copyright restrictions, the note license.
* all the software source code  copyright belongs to the original owner.
* Creative Commons protocol use please follow the "sign for non-commercial use consistent"; we do not welcome the large-scale duplication, and all rights reserved.
* Commercial sites or unauthorized media may not copy software source code.
**/
 
 


 
package com.mijie.homi.search.service.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mijie.homi.search.dao.user.FriendDao;

@Service
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
public class FriendSerivce {

	@Autowired
	private FriendDao dao;
	
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public boolean isFriend(int userId,int friendId){
		return dao.isFriend(userId, friendId);
	}
}